﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace WebApplication1.Classes
{
    class User
    {
        public User(int id, string password, string role, string name, string surname, string phone, string email, string login)
        {
            this.id = id;
            this.password = password;
            this.role = role;
            this.name = name;
            this.surname = surname;
            this.phone = phone;
            this.email = email;
            this.login = login;

        }
        private string password;
        private int id;
        private string role;
        private string name;
        private string surname;
        private string phone;
        private string email;
        private string login{ get; set; }

        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        
        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        public string Role
        {
            get { return role; }
            set { role = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string Surname
        {
            get { return surname; }
            set { surname = value; }
        }

        public string Phone
        {
            get { return phone; }
            set { phone = value; }
        }

        public string Email
        {
            get { return email; }
            set { email = value; }
        }

    }
}

